package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 趣运动表
 * </p>
 *
 * @author author
 * @since 2025-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_fun_sports")
@ApiModel(value="GeConFunSports对象", description="趣运动表")
public class GeConFunSports implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "封面")
    private String picture;

    @ApiModelProperty(value = "分类（1攻略，2线路）")
    private String type;

    @ApiModelProperty(value = "介绍")
    private String introduce;

    @ApiModelProperty(value = "状态 0.待审核 1.已审核 2.审核失败 3.已发布 -1.已删除 4.未提交")
    private String status;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "点击量")
    private int hit;


}
